<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加课程</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
    integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <link rel="stylesheet" href="../../css/lxm_css/base.css">
    <link rel="stylesheet" href="../../css/lxm_css/add_course.css">
  <!--[if lt IE 9]>
    <script src="https://fastly.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://fastly.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
  <![endif]-->
</head>
<body>
    <!-- 导航条 -->
    <nav class="navbar">
        <div class="container">
            <div class="navbar-left xl-navbar-left">
                <p>新增课程</p>
            </div>
            <div class="navbar-right xl-navbar-right">
                <a href="javascript:;" class="xl-add-return">
                    <span>&lt;</span>
                    <span>返回</span>
                </a>
            </div>
        </div>
    </nav>

    <!-- 主体 -->
    <div class="container">
        <div class="xl-header">
            <p>课程详情</p>
        </div>

        <div class="row">
            <div class="col-xs-6">
                <form>
                    <div class="form-group">
                        <p>课程名称</p>
                        <input type="text" class="form-control"  placeholder="课程名称" id="courseName">
                    </div>
                    <div class="form-group xl-intro">
                        <p>课程介绍</p>
                        <textarea class="form-control" rows="8" placeholder="课程介绍" id="courseIntro"></textarea>
                    </div>
                    <div class="form-group xl-intro">
                        <p>课程内容</p>
                        <textarea class="form-control" rows="8" placeholder="课程内容" id="courseCon"></textarea>
                    </div>
                    <div class="form-group xl-teacher-wrap">
                        <p>授课老师</p>
                        <input type="text" class="form-control xl-select-teacher"  placeholder="选择老师" id="courseTeach">
                        <div class="xl-che-wrap">
                            <span class="glyphicon glyphicon-chevron-down"></span>
                            <span class="glyphicon glyphicon-chevron-up"></span>
                        </div>
                        <ul class="xl-teacher">
                            <li class="xl-pro">老师一</li>
                            <li class="xl-pro">老师二</li>
                            <li class="xl-pro">老师三</li>
                            <li class="xl-pro">老师四</li>
                        </ul>
                    </div>

                    <div class="form-group xl-select-images">
                        <p>选择图片</p>
                        <input type="file" accept="image/*" id="select-images" class="form-control">
                        <!-- 修改file默认样式 -->
                        <div class="xl-image-wrap">
                            <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
                            <img src="" class="xl-images">
                        </div>
                        <label for="select-images">选择图片</label>
                        <p class="request">单文件大小请在1M以内,仅支持JPG、JPEG、PNG格式</p>
                    </div>

                </form>
            </div>
            <div class="col-xs-6">
                <form> 
                    <div class="form-group">
                        <p>课程编号</p>
                        <input type="text" class="form-control"  placeholder="课程编号" id="courseId">
                    </div>
                    <div class="form-group">
                        <p>发布日期</p>
                        <input type="date" class="form-control" id="courseCretime">
                    </div>
                    <div class="form-group">
                        <p>开课日期</p>
                        <input type="date" class="form-control" id="courseStarsTime">
                    </div>
                    <div class="form-group">
                        <p>持续时间</p>
                        <input type="text" class="form-control"  placeholder="持续时间" id="courseDuration">
                    </div>
                    <div class="form-group xl-class-wrap">
                        <p>授课班级</p>
                        <input type="text" class="form-control xl-select-class"  placeholder="授课班级" id="courseClass">

                        <div class="xl-che-wrap">
                            <span class="glyphicon glyphicon-chevron-down"></span>
                            <span class="glyphicon glyphicon-chevron-up"></span>
                        </div>
                        <ul class="xl-class">
                            <li class="xl-pro">高二（1）班</li>
                            <li class="xl-pro">高二（2）班</li>
                            <li class="xl-pro">高二（3）班</li>
                            <li class="xl-pro">高二（4）班</li>
                        </ul>
                    </div>
                    <div class="form-group">
                        <p>上课地址</p>
                        <input type="text" class="form-control"  placeholder="上课地址" id="courseAddress">
                    </div>
                </form>
            </div>
        </div>
        <div class="xl-save-wrap">
            <button type="button" class="xl-cancel">取消</button>
            <button type="button" class="xl-save">保存</button>
        </div>

    </div>




    <script src="https://lib.baomitu.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    <script src="../../mock/lxm_mock.js"></script>
    <script src="../../mock/teacherMock.js"></script>
    <script src="../../js/lxm_js/add_course.js"></script>
</body>
</html>